package tec;

/*Classe faussaire de Passager Standard pour les tests unitaires*/

class FauxPassager implements Passager, Usager {
    //public String nom;
    //public int destination;
    //public EtatPassager monEtat;
   
    public static final byte ASSIS  = 0;
    public static final byte DEBOUT = 1;
    public static final byte DEHORS = 2;
    public byte status;

    final Messages messages = new Messages();

    // Public PassagerStandard(String nom, int destination) {
    // 	this.nom = nom;
    // 	this.destination = destination;
    // 	status = DEHORS;
    // }


    public FauxPassager() {
    	//	this.nom = nom;
    	//this.destination = destination;
    	status = DEHORS;
    }
    
    public String nom() {
	return  null; 
    }
    
    public boolean estDehors() {
	return status == DEHORS;
    }
    
    public boolean estAssis() {
	return status == ASSIS;
    }
    
    public boolean estDebout() {
	return status == DEBOUT;
    }
    
    public void accepterSortie() {
	messages.add("accepterSortie");
    }
    
    public void accepterPlaceAssise() {
	messages.add("accepterPlaceAssise");
    }
    
    public void accepterPlaceDebout() {
	messages.add("accepterPlaceDebout");
    }
    
    public void nouvelArret(Bus bus, int numeroArret) {
    	messages.add("nouvelArret");
    }
    
    public void monterDans(Transport t) { 
    	messages.add("monterDans");
    }
}
